<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
  </head>
  <body>
    <script>
      const arr1 = [1, 2, 3, 4];
      const arr2 = [5, 6, 7];
      // console.log(Math.max(...arr1, 100, 200, ...arr2));
      const arr3 = ["a", ...arr2, "b", "c", ...arr1];
      const arr4 = [...arr2];
      console.log(arr3);
    </script>
  </body>
</html>
